<template>
  <div class="content">
    <!-- 注册成功回显 -->
    <div class="tixiansuccess" v-if="$route.query.msg == 1">
      <van-nav-bar
        @click-left="$router.go(-2)"
        left-arrow
        title="注册成功"
        fixed
      ></van-nav-bar>
      <div class="mains">
        <div class="imgs">
          <img src="../../assets/images/wallet/shimingrenzheng.png" alt="" />
        </div>
        <span>恭喜你！注册成功</span>
        <br />
        <div class="btn" @click="$router.push('/mineInstructions')">
          查看管理端信息
        </div>
      </div>
    </div>
    <!-- 注册失败回显 -->
    <div class="tixiansuccess" v-if="$route.query.msg == 2">
      <van-nav-bar
        @click-left="$router.back()"
        left-arrow
        title="注册失败"
        fixed
      ></van-nav-bar>
      <div class="mains">
        <div class="imgs">
          <img src="../../assets/images/wallet/tixianshibai.png" alt="" />
        </div>
        <span>抱歉，注册失败</span>
        <br />
        <div class="btn" @click="$router.go(-1)">返回</div>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {};
  },
  methods: {},
};
</script>
<style lang="less" scoped>
.tixiansuccess {
  .btn {
    width: 80%;
    height: 40px;
    opacity: 1;
    background: #4b5fe0;
    border-radius: 41px;
    text-align: center;
    line-height: 40px;
    color: #ffffff;
    margin: 250px auto;
  }
  .mains {
    margin-top: 160px;
    text-align: center;
    line-height: 30px;
    .imgs {
      width: 110px;
      height: 110px;
      border-radius: 6em;
      margin: 0 auto;
    }
  }
}
</style>